package com.example.pojo.wechat;

/**
 * @ClassName WxColor
 * @Description: com.example.pojo.wechat
 * @Auther: xiwd
 * @Date: 2022/4/16 - 04 - 16 - 15:41
 * @version: 1.0
 */
public enum WxColor {
    //WxColor objects
    RED("#ff7033","红色"),
    LABELRED("#d71345","标签红"),
    PINK("#DDA0DD","粉红色"),
    GREEN("#00FA9A","绿色"),
    LIGHTGREEN("#7FFFD4","淡绿色"),
    BLUE("#6495ED","蓝色"),
    SKYBLUE(" #87CEEB","天蓝色"),
    LIGHTBLUE("#87CEFA","淡蓝色"),
    WHITE("#FFFFFF","白色"),
    BLACK("#000000","黑色"),
    GRAY("#CCCCCC","灰色"),
    LIGHTGRAY("#dcdec7","淡灰色");

    //properties
    private final String colorHexCode;//颜色十六进制代码
    private final String colorDesc;//颜色文字描述

    //constructor
    private WxColor(String colorHexCode,String colorDesc){
        this.colorHexCode = colorHexCode;
        this.colorDesc = colorDesc;
    }

    //getter
    public String getColorHexCode() {
        return colorHexCode;
    }
    public String getColorDesc() {
        return colorDesc;
    }
    @Override
    public String toString() {
        return "WxColor{" +
                "colorHexCode='" + colorHexCode + '\'' +
                ", colorDesc='" + colorDesc + '\'' +
                '}';
    }
}
